package stringbuilder01;
/*
*StringBuffer和StringBuilder的使用方法基本一致
* 但是大多数情况下,优先考虑StringBuilder,操作效率更高
* */
public class StringBuilderDemo07 {
    public static void main(String[] args) {
        StringBuffer stringBuffer = new StringBuffer("abc");
        stringBuffer.append(5);
        System.out.println(stringBuffer);
    }
}
